import { createApp } from 'vue'
import App from './App.vue';

import ElementPlus from 'element-plus';
import zhCn from 'element-plus/es/locale/lang/zh-cn'
//import 'element-plus/lib/theme-chalk/index.css';

import "./assets/css/base.css";
import "./assets/element-theme/turquoise/index.css";
import "./assets/element-theme/turquoise/aui.css";

import 'element-plus/dist/index.css'

import router from "./router/index";
import store from './store'
import print from 'vue3-print-nb'
//import i18n from './language'
//import hasPermission from "./utils/hasPermission";
//import http from "../http";
//import jQuery from 'jquery'


const app = createApp(App)
//app.use(i18n)

//app.config.globalProperties.$http = http
//app.config.globalProperties.$hasPermission = hasPermission
app.use(ElementPlus, {
  locale: zhCn,
})
app.use(router);


app.use(store)
app.use(print)

app.mount('#app')
